package com.demo.common.config.swagger;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


import java.io.Serializable;

/**
 * @author wuyijie
 * @className: SwaggerProperties
 * @description: TODO swagger配置类
 * @date 2021/4/2 10:43
 */
@Data
@ConfigurationProperties(prefix = "common.swagger")
public class SwaggerProperties implements Serializable {

    private static final String prefix = "common.swagger";

    private static boolean enable = true;

    private String title;

    private String contactUser;
    private String contactUrl;
    private String contactEmail;

    private String version;

    private String license;

    private String licenseUrl;

    private String description;

    /**
     * swagger扫包路径。可以配置多个，逗号隔开。
     * */
    private String basePackage;


}
